 public final class HTTPRequestDecoder : ByteToMessageDecoder {
     public typealias InboundIn = ByteBuffer
     public typealias InboundOut = HTTPRequest
-
-    var parser: UnsafeMutablePointer<http_parser>?
-    var settings: UnsafeMutablePointer<http_parser_settings>?
     public var cumulationBuffer: ByteBuffer?
+    
+    private var parser: http_parser?
+    private var settings: http_parser_settings?
     
     
     private enum DataAwaitingState {

            return 0
        }

        settings!.pointee.on_url = { parser, data, len in
            let ctx = evacuateContext(parser)
            let handler = ctx.handler as! HTTPRequestDecoder


    }

    public func decoderRemoved(ctx: ChannelHandlerContext) {
        if parser != nil {
            parser!.data = UnsafeMutableRawPointer(bitPattern: 0x0000deadbeef0000)
            parser = nil
            settings = nil
        }
        
        state = nil
