Fixed connection issues. GET and POST working now