fix sefl.data value
simplify get_protocol method
add "localhost" as default server name
remove line with server location, this line is innecessary