Update HttpServer.swift

solve compiler error : 'NSTextCheckingResult?' does not have a member named 'rangeAtIndex'
Merge pull request #9 from pyanfield/master

Update HttpServer.swift